package leetcode.code0873;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution873 implements IDebug {

	public abstract int lenLongestFibSubseq(int[] arr);

	@Override
	public void debug1() {
		HelpDebug.compare(5, this.lenLongestFibSubseq(HelpDebug.str2array3("[1,2,3,4,5,6,7,8]")));

	}

	@Override
	public void debug2() {
		HelpDebug.compare(3, this.lenLongestFibSubseq(HelpDebug.str2array3("[1,3,7,11,12,14,18]")));

	}

	@Override
	public void debug3() {
		HelpDebug.compare(4, this.lenLongestFibSubseq(HelpDebug.str2array3("[1,3,7,9,11,12,14,18,21]")));

	}

	@Override
	public void debug4() {
		HelpDebug.compare(6, this.lenLongestFibSubseq(HelpDebug.str2array3("[1,3,4,7,11,18]")));

	}

}
